package com.jiyun.controller;

import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import com.jiyun.service.IThShopService;

import org.springframework.web.bind.annotation.RestController;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  管理数据展示
 * </p>
 *
 * @author usian
 * @since 2022-10-27
 */
@RestController
@RequestMapping("/shop")
@Api(tags = "接口")
@CrossOrigin
public class ThShopController{

    @Autowired
    private IThShopService thShopService;

    @GetMapping("/newKs")
    public Map<String, Object> ks(){
      return   thShopService.newks();
    }

}
